import logging
import time

def send_log():
    str=time.strftime('%Y%m%d%H%M%S')
    logging.basicConfig(filename=str+'a3mall.log',
                        filemode='w+',
                        format='%(levelname)s-%(asctime)s-%(filename)s-%(message)s',
                        level=logging.DEBUG)